package com.max.back.doctor.form;


import com.max.back.doctor.form.groups.Update;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class DoctorForm {

    @NotBlank
    @Length(min = 32,max = 36,groups = {Update.class})
    private String id;

    private String userType;

    private String userName;

    private Date password;

    private Integer realName;

    private Integer sex;

    private Integer age;

    private String doctorLevelId;

    private Boolean deleted;

    private Date gmtCreate;

    private Date gmtModify;
}
